package com.example.carRental.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.carRental.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 92307
 * @version 1.0
 * @time 2022/4/1
 * @Describe describe
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    void insertOrder(@Param("o")Order order);
    List<Order> getOrderByCustomerId(Integer id);
}
